package com.uppfind.framework.core.service.impl;

import com.uppfind.framework.core.dao.api.DeleteMapper;
import com.uppfind.framework.core.dao.api.common.params.DeleteParam;
import com.uppfind.framework.core.service.DeleteService;

/**
 * Created by xuliugen on 2017/6/29.
 */
public interface SimpleDeleteService<Pk> extends DeleteService<Pk> {

    DeleteMapper getDeleteMapper();

    default int delete(DeleteParam<Pk> param) {
        return getDeleteMapper().delete(param);
    }
}
